﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace CompanyManageModel
{
    [SugarTable("EMPLOYEE")]
    public class Employee
    {
        [SugarColumn(OldColumnName = "ID", IsPrimaryKey = true, IsIdentity = true)]
        public int ID { get; set; }

        [SugarColumn(OldColumnName = "NAME")]
        public string NAME { get; set; }

        [SugarColumn(OldColumnName = "SEX")]
        public string SEX { get; set; }

        [SugarColumn(OldColumnName = "TITLE")]
        public string TITLE { get; set; }

        [SugarColumn(OldColumnName = "AGE")]
        public int AGE { get; set; }

        [SugarColumn(OldColumnName = "COMPANYID")]
        public int COMPANYID { get; set; }
    }
}
